import { api } from "@/lib/request";
import type { Response } from "@/types/response";

// 退出API
export const logoutAPI = {
  // 退出登录
  logout: async (): Promise<Response> => {
    const response = await api.get("/cas/logout");
    return response as unknown as Response;
  },
};
